# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=7

inherit git-r3

DESCRIPTION="nvramtool is a utility for reading/writing/displaying Coreboot parameters."
HOMEPAGE="http://www.coreboot.org/Nvramtool"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"

EGIT_REPO_URI="https://review.coreboot.org/coreboot.git"
EGIT_BRANCH="master"

S=${WORKDIR}/${P}/util/${PN}

pkg_postinst() {
	ewarn "The machine must be booted with Coreboot or derivatives to use this program. /dev/mem device should also exists. (enabled in kernel)"
}
